#ifndef PACKAGE_H
#define PACKAGE_H

#include "object.h"
#include "packagetype.h"

class Package : public Object
{
public:

    pt::PackageType ptype;
    int value;
    bool alive;
    Package(pt::PackageType,int);
    void set(pt::PackageType,int);
    void purge();
    void control();
    void physics();
    void step();
    void paint(QPainter *painter, const QStyleOptionGraphicsItem *,QWidget *);
    QRectF boundingRect() const;

};

#endif // PACKAGE_H
